package com.ourteam.system.dao;

import net.dao.IDataAccessInterface;


/**
 * Template Name : DAO接口模板
 * Template Version : 1
 * Template Last Modfiy Date : Thu Sep 21 11:14:14 CST 2017
 * Auto Generate Date : 2018-07-31 15:13:17
  * Warning ! This file will be overwrite when regenerate !
  *
 */
public interface IBaseSysUserDAO extends IDataAccessInterface<SysUser, SysUserDAOQueryBean> {
    /**
        *  Mapped Entity Name
        */
    static final String EntityName = "SYS_USER";

    /**
     * Mapped Field ID
    */
    static final String Id = "SYS_USER.ID";

    /**
     * Mapped Field REMARKS
    */
    static final String Remarks = "SYS_USER.REMARKS";

    /**
     * Mapped Field STATUS
    */
    static final String Status = "SYS_USER.STATUS";

    /**
     * Mapped Field USER_ACCOUNT
    */
    static final String UserAccount = "SYS_USER.USER_ACCOUNT";

    /**
     * Mapped Field USER_NAME
    */
    static final String UserName = "SYS_USER.USER_NAME";

    /**
     * Mapped Field USER_TYPE
    */
    static final String UserType = "SYS_USER.USER_TYPE";

    /**
     * Mapped Field PASSWORD
    */
    static final String Password = "SYS_USER.PASSWORD";

    /**
     * Mapped Field LAST_LOGIN_TIME
    */
    static final String LastLoginTime = "SYS_USER.LAST_LOGIN_TIME";

    /**
     * Mapped Field USER_MAIL
    */
    static final String UserMail = "SYS_USER.USER_MAIL";

    /**
     * Mapped Field USER_CODE
    */
    static final String UserCode = "SYS_USER.USER_CODE";

    /**
     * Mapped Field USER_PHOTO
    */
    static final String UserPhoto = "SYS_USER.USER_PHOTO";

    /**
     * Mapped Field USER_MOBILE_PHONE
    */
    static final String UserMobilePhone = "SYS_USER.USER_MOBILE_PHONE";

    /**
     * Mapped Field USER_OFFICE_PHONE
    */
    static final String UserOfficePhone = "SYS_USER.USER_OFFICE_PHONE";

    /**
     * Mapped Field USER_DEPARTMENT
    */
    static final String UserDepartment = "SYS_USER.USER_DEPARTMENT";

    /**
     * Mapped Field USER_ROLE
    */
    static final String UserRole = "SYS_USER.USER_ROLE";

    /**
     * Mapped Field USER_DEPARTMENT_ROLE
    */
    static final String UserDepartmentRole = "SYS_USER.USER_DEPARTMENT_ROLE";

    /**
     * Mapped Field MODIFY_TIME
    */
    static final String ModifyTime = "SYS_USER.MODIFY_TIME";

    /**
     * Mapped Field OPERATOR_ID
    */
    static final String OperatorId = "SYS_USER.OPERATOR_ID";

    /**
     * Mapped Field USER_STATUS
    */
    static final String UserStatus = "SYS_USER.USER_STATUS";

    /**
     * Mapped Field CREATE_TIME
    */
    static final String CreateTime = "SYS_USER.CREATE_TIME";

    /**
     * Mapped Field SEAT_CODE
    */
    static final String SeatCode = "SYS_USER.SEAT_CODE";

    /**
     * Mapped Field SEAT_PASSWORD
    */
    static final String SeatPassword = "SYS_USER.SEAT_PASSWORD";

    /**
     * Mapped Field WECHAT_OPEN_ID
    */
    static final String WechatOpenId = "SYS_USER.WECHAT_OPEN_ID";

    /**
     * Mapped Attribute operatorName
    */
    static final String OperatorName = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysUserDAO.UserName,
            com.ourteam.system.dao.ISysUserDAO.EntityName + ".",
            "operator_user.");

    /**
     * Delete Data
     * @param final long id
     * @throws Exception
     */
    void delete(final long id) throws Exception;

    /**
         * Find Data By Primary Key
         * @param  final long id
         * @throws Exception
         */
    SysUser findById(final long id) throws Exception;

    /**
         * Query Related SysUserRoleRelate
         * @param aQueryBean
         * @throws Exception
         */
    com.ourteam.system.dao.SysUserRoleRelate[] querySysUserRoleRelate(
        final SysUserDAOQueryBean queryBean) throws Exception;

    /**
         * Query Related SysUserRoleRelate Selective
         * @param queryBean
         * @throws Exception
         */
    java.util.Map<String, Object>[] querySysUserRoleRelateSelective(
        final SysUserDAOQueryBean queryBean) throws Exception;

    /**
         * Update Related SysUserRoleRelate
         * @param aSysUserRoleRelate
         * @param queryBean
         * @throws Exception
         */
    void updateSysUserRoleRelate(
        final com.ourteam.system.dao.SysUserRoleRelate aSysUserRoleRelate,
        SysUserDAOQueryBean queryBean) throws Exception;

    /**
         * Delete Related SysUserRoleRelate
         * @param queryBean
         * @throws Exception
         */
    void deleteSysUserRoleRelate(final SysUserDAOQueryBean queryBean)
        throws Exception;

    static public interface DataProperty {
        /**
         * Attribute seatCode
         */
        static final String SeatCode = "seatCode";

        /**
         * Attribute seatPassword
         */
        static final String SeatPassword = "seatPassword";

        /**
         * Attribute lastLoginTime
         */
        static final String LastLoginTime = "lastLoginTime";

        /**
         * Attribute userOfficePhone
         */
        static final String UserOfficePhone = "userOfficePhone";

        /**
         * Attribute userStatus
         */
        static final String UserStatus = "userStatus";

        /**
         * Attribute userDepartment
         */
        static final String UserDepartment = "userDepartment";

        /**
         * Attribute createTime
         */
        static final String CreateTime = "createTime";

        /**
         * Attribute userRole
         */
        static final String UserRole = "userRole";

        /**
         * Attribute userMail
         */
        static final String UserMail = "userMail";

        /**
         * Attribute userDepartmentRole
         */
        static final String UserDepartmentRole = "userDepartmentRole";

        /**
         * Attribute userMobilePhone
         */
        static final String UserMobilePhone = "userMobilePhone";

        /**
         * Attribute modifyTime
         */
        static final String ModifyTime = "modifyTime";

        /**
         * Attribute operatorId
         */
        static final String OperatorId = "operatorId";

        /**
         * Attribute operatorName
         */
        static final String OperatorName = "operatorName";

        /**
         * Attribute userCode
         */
        static final String UserCode = "userCode";

        /**
         * Attribute userPhoto
         */
        static final String UserPhoto = "userPhoto";

        /**
         * Attribute id
         */
        static final String Id = "id";

        /**
         * Attribute remarks
         */
        static final String Remarks = "remarks";

        /**
         * Attribute status
         */
        static final String Status = "status";

        /**
         * Attribute userAccount
         */
        static final String UserAccount = "userAccount";

        /**
         * Attribute userName
         */
        static final String UserName = "userName";

        /**
         * Attribute userType
         */
        static final String UserType = "userType";

        /**
         * Attribute password
         */
        static final String Password = "password";

        /**
         * Attribute wechatOpenId
         */
        static final String WechatOpenId = "wechatOpenId";
    }

    static public interface _DataObjectProperty extends DataProperty {
    }
}
